import request from '@/utils/request'

const BASE_URL = '/admin/system/sysDashboard';

export default {
    selectCourseCount() {
        return request({
            url: `${BASE_URL}/selectCourseCount`,
            method: 'get',
        })
    },
    selectUserCount() {
        return request({
            url: `${BASE_URL}/selectUserCount`,
            method: 'get',
        })
    },
    selectDevicesCount() {
        return request({
            url: `${BASE_URL}/selectDevicesCount`,
            method: 'get',
        })
    },

//获取每个课程的当前报名人数
    getCourseData(){
        return request({
            url: `${BASE_URL}/getCourseData`,
            method: 'get',
        })

    },



}
